﻿using System;
using System.ComponentModel.DataAnnotations;
using VisionCloud.Core.Model.Enums;
using static VisionCloud.Core.Model.Ms.MsTask;

namespace VisionCloud.Domain.DtoModel.Ms
{
    /// <summary>
    /// 获取汇总报告请求参数
    /// </summary>
    public class GetSummaryReportRqDto
    {
        /// <summary>
        /// 项目ID
        /// </summary>
        [Required(ErrorMessage = "参数不能为空", AllowEmptyStrings = false)]
        public string ProjectId { set; get; }

        /// <summary>
        /// 楼栋号
        /// </summary>
        [Required(ErrorMessage = "参数不能为空", AllowEmptyStrings = false)]
        public string BuildingName { set; get; }

        /// <summary>
        /// 测量阶段
        /// </summary>
        [Required(ErrorMessage = "参数不能为空", AllowEmptyStrings = false)]
        public string MeasureStep { set; get; }

        public TaskTypeEnum ProjectType { set; get; }

        /// <summary>
        /// 楼层号
        /// </summary>
        [Required(ErrorMessage = "参数不能为空", AllowEmptyStrings = false)]
        public string FloorName { set; get; }
    }

    public class GetSummaryReportRspDto
    {
        public Guid TaskId { set; get; }
        public string ResultDataFilePath { set; get; }
        public string TaskName { set; get; }
    }
}